package com.example.drools_springboot_demo.model;

import java.math.BigDecimal;

/**
 * Created by DongChenchen on 2018/5/2 0001
 * 需要回购的数字货币对应的价格及数量
 */
public class CoinPrice {
    private String coin;
    private BigDecimal price;
    private BigDecimal count;
    public CoinPrice() {}
    public CoinPrice(String coin, BigDecimal price, BigDecimal count) {
        this.coin = coin;
        this.price = price;
        this.count = count;
    }

    public String getCoin() {
        return coin;
    }

    public void setCoin(String coin) {
        this.coin = coin;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getCount() {
        return count;
    }

    public void setCount(BigDecimal count) {
        this.count = count;
    }
}
